package com.lzy.openFeignTest.orgFeign;

import cn.hutool.json.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * description: WorkFlowFeignService (流程管理接口)<br>
 * date: 2022-8-19 7:30 <br>
 * author: lcc <br>
 * version: 1.0 <br>
 */
@Component
@FeignClient(name = "service-adminManage", path = "/organization/sysRole")
public interface SysRoleFeignService {

    @RequestMapping(value = "selectByUid",method = RequestMethod.POST)
    JSONObject selectByUid(@RequestParam("userId") String userId);

}
